<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>弹窗示例</title>
    <link rel="stylesheet" type="text/css" href="Test.css">
    <script src="Test.js" defer></script> <!-- defer 属性确保脚本在 DOM 加载后执行 -->
</head>
<body>
    <!-- 打开弹窗按钮 -->
    <button id="myBtn">点击有惊喜</button>

    <!-- 弹窗 -->
    <div id="myModal" class="modal">
        <!-- 弹窗内容 -->
        <div class="modal-content">
            <span class="close">&times;</span>
            <p id="color">警告！您的计算机疑似有木马病毒！</p>
        </div>
    </div>
</body>
</html>
